package com.fenghongzhang.day013;

import android.util.Log;

import com.fenghongzhang.day013.entity.Meizi;
import com.fenghongzhang.day013.mvp.contract.MeiziContract;
import com.fenghongzhang.day013.mvp.presenter.MeiziPresenter;
import com.fenghongzhang.day013.mvp.view.fragment.MeiziFragment;
import com.fenghongzhang.lib.mvp.view.BaseActivity;

import java.util.List;

public class MainActivity extends BaseActivity<MeiziPresenter> implements MeiziContract.IMeiziView {


    private static final String TAG = "MainActivity";
    @Override
    public void showMeizi(List<Meizi.DataBean> list) {

    }

    @Override
    public int bindLayout() {
        return R.layout.activity_main;
    }

    @Override
    public void initView() {
        Log.i(TAG, "initView: ");
        getSupportFragmentManager().beginTransaction().add(R.id.ll,new MeiziFragment()).commit();

    }

    @Override
    public void initData() {

    }
}
